const mongoose = require('./connect')

const cartSchema = new mongoose.Schema({
    dishId: String,
    userId: String,
    number: Number,
    speandkind: String  //规格和类型
})

const cartModel = mongoose.model('cart', cartSchema, 'cart')

module.exports = cartModel